package com.erp.stock.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data   //代替了get set 方法
@Entity
@Table(name = "t_user")
public class User {
    @Id
    private long id;
    private String name;

}
